home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Programming / gcc-2.95.3-3 / info / gcc.info-19 < prev    next >
Encoding:
GNU Info File  |  2001-07-15  |  49.1 KB  |  1,333 lines

  1. This is Info file gcc.info, produced by Makeinfo version 1.68 from the
  2. input file ./gcc.texi.
  3.  
  4. INFO-DIR-SECTION Programming
  5. START-INFO-DIR-ENTRY
  6. * gcc: (gcc).                  The GNU Compiler Collection.
  7. END-INFO-DIR-ENTRY
  8.    This file documents the use and the internals of the GNU compiler.
  9.  
  10.    Published by the Free Software Foundation 59 Temple Place - Suite 330
  11. Boston, MA 02111-1307 USA
  12.  
  13.    Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
  14. 1999, 2000 Free Software Foundation, Inc.
  15.  
  16.    Permission is granted to make and distribute verbatim copies of this
  17. manual provided the copyright notice and this permission notice are
  18. preserved on all copies.
  19.  
  20.    Permission is granted to copy and distribute modified versions of
  21. this manual under the conditions for verbatim copying, provided also
  22. that the sections entitled "GNU General Public License" and "Funding
  23. for Free Software" are included exactly as in the original, and
  24. provided that the entire resulting derived work is distributed under
  25. the terms of a permission notice identical to this one.
  26.  
  27.    Permission is granted to copy and distribute translations of this
  28. manual into another language, under the above conditions for modified
  29. versions, except that the sections entitled "GNU General Public
  30. License" and "Funding for Free Software", and this permission notice,
  31. may be included in translations approved by the Free Software Foundation
  32. instead of in the original English.
  33.  
  34. 
  35. File: gcc.info,  Node: Machine Constraints,  Next: No Constraints,  Prev: Modifiers,  Up: Constraints
  36.  
  37. Constraints for Particular Machines
  38. -----------------------------------
  39.  
  40.    Whenever possible, you should use the general-purpose constraint
  41. letters in `asm' arguments, since they will convey meaning more readily
  42. to people reading your code.  Failing that, use the constraint letters
  43. that usually have very similar meanings across architectures.  The most
  44. commonly used constraints are `m' and `r' (for memory and
  45. general-purpose registers respectively; *note Simple Constraints::.),
  46. and `I', usually the letter indicating the most common
  47. immediate-constant format.
  48.  
  49.    For each machine architecture, the `config/MACHINE.h' file defines
  50. additional constraints.  These constraints are used by the compiler
  51. itself for instruction generation, as well as for `asm' statements;
  52. therefore, some of the constraints are not particularly interesting for
  53. `asm'.  The constraints are defined through these macros:
  54.  
  55. `REG_CLASS_FROM_LETTER'
  56.      Register class constraints (usually lower case).
  57.  
  58. `CONST_OK_FOR_LETTER_P'
  59.      Immediate constant constraints, for non-floating point constants of
  60.      word size or smaller precision (usually upper case).
  61.  
  62. `CONST_DOUBLE_OK_FOR_LETTER_P'
  63.      Immediate constant constraints, for all floating point constants
  64.      and for constants of greater than word size precision (usually
  65.      upper case).
  66.  
  67. `EXTRA_CONSTRAINT'
  68.      Special cases of registers or memory.  This macro is not required,
  69.      and is only defined for some machines.
  70.  
  71.    Inspecting these macro definitions in the compiler source for your
  72. machine is the best way to be certain you have the right constraints.
  73. However, here is a summary of the machine-dependent constraints
  74. available on some particular machines.
  75.  
  76. *ARM family--`arm.h'*
  77.  
  78.     `f'
  79.           Floating-point register
  80.  
  81.     `F'
  82.           One of the floating-point constants 0.0, 0.5, 1.0, 2.0, 3.0,
  83.           4.0, 5.0 or 10.0
  84.  
  85.     `G'
  86.           Floating-point constant that would satisfy the constraint `F'
  87.           if it were negated
  88.  
  89.     `I'
  90.           Integer that is valid as an immediate operand in a data
  91.           processing instruction.  That is, an integer in the range 0
  92.           to 255 rotated by a multiple of 2
  93.  
  94.     `J'
  95.           Integer in the range -4095 to 4095
  96.  
  97.     `K'
  98.           Integer that satisfies constraint `I' when inverted (ones
  99.           complement)
  100.  
  101.     `L'
  102.           Integer that satisfies constraint `I' when negated (twos
  103.           complement)
  104.  
  105.     `M'
  106.           Integer in the range 0 to 32
  107.  
  108.     `Q'
  109.           A memory reference where the exact address is in a single
  110.           register (``m'' is preferable for `asm' statements)
  111.  
  112.     `R'
  113.           An item in the constant pool
  114.  
  115.     `S'
  116.           A symbol in the text segment of the current file
  117.  
  118. *AMD 29000 family--`a29k.h'*
  119.  
  120.     `l'
  121.           Local register 0
  122.  
  123.     `b'
  124.           Byte Pointer (`BP') register
  125.  
  126.     `q'
  127.           `Q' register
  128.  
  129.     `h'
  130.           Special purpose register
  131.  
  132.     `A'
  133.           First accumulator register
  134.  
  135.     `a'
  136.           Other accumulator register
  137.  
  138.     `f'
  139.           Floating point register
  140.  
  141.     `I'
  142.           Constant greater than 0, less than 0x100
  143.  
  144.     `J'
  145.           Constant greater than 0, less than 0x10000
  146.  
  147.     `K'
  148.           Constant whose high 24 bits are on (1)
  149.  
  150.     `L'
  151.           16 bit constant whose high 8 bits are on (1)
  152.  
  153.     `M'
  154.           32 bit constant whose high 16 bits are on (1)
  155.  
  156.     `N'
  157.           32 bit negative constant that fits in 8 bits
  158.  
  159.     `O'
  160.           The constant 0x80000000 or, on the 29050, any 32 bit constant
  161.           whose low 16 bits are 0.
  162.  
  163.     `P'
  164.           16 bit negative constant that fits in 8 bits
  165.  
  166.     `G'
  167.     `H'
  168.           A floating point constant (in `asm' statements, use the
  169.           machine independent `E' or `F' instead)
  170.  
  171. *IBM RS6000--`rs6000.h'*
  172.  
  173.     `b'
  174.           Address base register
  175.  
  176.     `f'
  177.           Floating point register
  178.  
  179.     `h'
  180.           `MQ', `CTR', or `LINK' register
  181.  
  182.     `q'
  183.           `MQ' register
  184.  
  185.     `c'
  186.           `CTR' register
  187.  
  188.     `l'
  189.           `LINK' register
  190.  
  191.     `x'
  192.           `CR' register (condition register) number 0
  193.  
  194.     `y'
  195.           `CR' register (condition register)
  196.  
  197.     `z'
  198.           `FPMEM' stack memory for FPR-GPR transfers
  199.  
  200.     `I'
  201.           Signed 16 bit constant
  202.  
  203.     `J'
  204.           Constant whose low 16 bits are 0
  205.  
  206.     `K'
  207.           Constant whose high 16 bits are 0
  208.  
  209.     `L'
  210.           Constant suitable as a mask operand
  211.  
  212.     `M'
  213.           Constant larger than 31
  214.  
  215.     `N'
  216.           Exact power of 2
  217.  
  218.     `O'
  219.           Zero
  220.  
  221.     `P'
  222.           Constant whose negation is a signed 16 bit constant
  223.  
  224.     `G'
  225.           Floating point constant that can be loaded into a register
  226.           with one instruction per word
  227.  
  228.     `Q'
  229.           Memory operand that is an offset from a register (`m' is
  230.           preferable for `asm' statements)
  231.  
  232.     `R'
  233.           AIX TOC entry
  234.  
  235.     `S'
  236.           Constant suitable as a 64-bit mask operand
  237.  
  238.     `U'
  239.           System V Release 4 small data area reference
  240.  
  241. *Intel 386--`i386.h'*
  242.  
  243.     `q'
  244.           `a', `b', `c', or `d' register
  245.  
  246.     `A'
  247.           `a', or `d' register (for 64-bit ints)
  248.  
  249.     `f'
  250.           Floating point register
  251.  
  252.     `t'
  253.           First (top of stack) floating point register
  254.  
  255.     `u'
  256.           Second floating point register
  257.  
  258.     `a'
  259.           `a' register
  260.  
  261.     `b'
  262.           `b' register
  263.  
  264.     `c'
  265.           `c' register
  266.  
  267.     `d'
  268.           `d' register
  269.  
  270.     `D'
  271.           `di' register
  272.  
  273.     `S'
  274.           `si' register
  275.  
  276.     `I'
  277.           Constant in range 0 to 31 (for 32 bit shifts)
  278.  
  279.     `J'
  280.           Constant in range 0 to 63 (for 64 bit shifts)
  281.  
  282.     `K'
  283.           `0xff'
  284.  
  285.     `L'
  286.           `0xffff'
  287.  
  288.     `M'
  289.           0, 1, 2, or 3 (shifts for `lea' instruction)
  290.  
  291.     `N'
  292.           Constant in range 0 to 255 (for `out' instruction)
  293.  
  294.     `G'
  295.           Standard 80387 floating point constant
  296.  
  297. *Intel 960--`i960.h'*
  298.  
  299.     `f'
  300.           Floating point register (`fp0' to `fp3')
  301.  
  302.     `l'
  303.           Local register (`r0' to `r15')
  304.  
  305.     `b'
  306.           Global register (`g0' to `g15')
  307.  
  308.     `d'
  309.           Any local or global register
  310.  
  311.     `I'
  312.           Integers from 0 to 31
  313.  
  314.     `J'
  315.           0
  316.  
  317.     `K'
  318.           Integers from -31 to 0
  319.  
  320.     `G'
  321.           Floating point 0
  322.  
  323.     `H'
  324.           Floating point 1
  325.  
  326. *MIPS--`mips.h'*
  327.  
  328.     `d'
  329.           General-purpose integer register
  330.  
  331.     `f'
  332.           Floating-point register (if available)
  333.  
  334.     `h'
  335.           `Hi' register
  336.  
  337.     `l'
  338.           `Lo' register
  339.  
  340.     `x'
  341.           `Hi' or `Lo' register
  342.  
  343.     `y'
  344.           General-purpose integer register
  345.  
  346.     `z'
  347.           Floating-point status register
  348.  
  349.     `I'
  350.           Signed 16 bit constant (for arithmetic instructions)
  351.  
  352.     `J'
  353.           Zero
  354.  
  355.     `K'
  356.           Zero-extended 16-bit constant (for logic instructions)
  357.  
  358.     `L'
  359.           Constant with low 16 bits zero (can be loaded with `lui')
  360.  
  361.     `M'
  362.           32 bit constant which requires two instructions to load (a
  363.           constant which is not `I', `K', or `L')
  364.  
  365.     `N'
  366.           Negative 16 bit constant
  367.  
  368.     `O'
  369.           Exact power of two
  370.  
  371.     `P'
  372.           Positive 16 bit constant
  373.  
  374.     `G'
  375.           Floating point zero
  376.  
  377.     `Q'
  378.           Memory reference that can be loaded with more than one
  379.           instruction (`m' is preferable for `asm' statements)
  380.  
  381.     `R'
  382.           Memory reference that can be loaded with one instruction (`m'
  383.           is preferable for `asm' statements)
  384.  
  385.     `S'
  386.           Memory reference in external OSF/rose PIC format (`m' is
  387.           preferable for `asm' statements)
  388.  
  389. *Motorola 680x0--`m68k.h'*
  390.  
  391.     `a'
  392.           Address register
  393.  
  394.     `d'
  395.           Data register
  396.  
  397.     `f'
  398.           68881 floating-point register, if available
  399.  
  400.     `x'
  401.           Sun FPA (floating-point) register, if available
  402.  
  403.     `y'
  404.           First 16 Sun FPA registers, if available
  405.  
  406.     `I'
  407.           Integer in the range 1 to 8
  408.  
  409.     `J'
  410.           16 bit signed number
  411.  
  412.     `K'
  413.           Signed number whose magnitude is greater than 0x80
  414.  
  415.     `L'
  416.           Integer in the range -8 to -1
  417.  
  418.     `M'
  419.           Signed number whose magnitude is greater than 0x100
  420.  
  421.     `G'
  422.           Floating point constant that is not a 68881 constant
  423.  
  424.     `H'
  425.           Floating point constant that can be used by Sun FPA
  426.  
  427. *SPARC--`sparc.h'*
  428.  
  429.     `f'
  430.           Floating-point register that can hold 32 or 64 bit values.
  431.  
  432.     `e'
  433.           Floating-point register that can hold 64 or 128 bit values.
  434.  
  435.     `I'
  436.           Signed 13 bit constant
  437.  
  438.     `J'
  439.           Zero
  440.  
  441.     `K'
  442.           32 bit constant with the low 12 bits clear (a constant that
  443.           can be loaded with the `sethi' instruction)
  444.  
  445.     `G'
  446.           Floating-point zero
  447.  
  448.     `H'
  449.           Signed 13 bit constant, sign-extended to 32 or 64 bits
  450.  
  451.     `Q'
  452.           Memory reference that can be loaded with one instruction
  453.           (`m' is more appropriate for `asm' statements)
  454.  
  455.     `S'
  456.           Constant, or memory address
  457.  
  458.     `T'
  459.           Memory address aligned to an 8-byte boundary
  460.  
  461.     `U'
  462.           Even register
  463.  
  464. 
  465. File: gcc.info,  Node: No Constraints,  Prev: Machine Constraints,  Up: Constraints
  466.  
  467. Not Using Constraints
  468. ---------------------
  469.  
  470.    Some machines are so clean that operand constraints are not
  471. required.  For example, on the Vax, an operand valid in one context is
  472. valid in any other context.  On such a machine, every operand
  473. constraint would be `g', excepting only operands of "load address"
  474. instructions which are written as if they referred to a memory
  475. location's contents but actual refer to its address.  They would have
  476. constraint `p'.
  477.  
  478.    For such machines, instead of writing `g' and `p' for all the
  479. constraints, you can choose to write a description with empty
  480. constraints.  Then you write `""' for the constraint in every
  481. `match_operand'.  Address operands are identified by writing an
  482. `address' expression around the `match_operand', not by their
  483. constraints.
  484.  
  485.    When the machine description has just empty constraints, certain
  486. parts of compilation are skipped, making the compiler faster.  However,
  487. few machines actually do not need constraints; all machine descriptions
  488. now in existence use constraints.
  489.  
  490. 
  491. File: gcc.info,  Node: Standard Names,  Next: Pattern Ordering,  Prev: Constraints,  Up: Machine Desc
  492.  
  493. Standard Pattern Names For Generation
  494. =====================================
  495.  
  496.    Here is a table of the instruction names that are meaningful in the
  497. RTL generation pass of the compiler.  Giving one of these names to an
  498. instruction pattern tells the RTL generation pass that it can use the
  499. pattern to accomplish a certain task.
  500.  
  501. `movM'
  502.      Here M stands for a two-letter machine mode name, in lower case.
  503.      This instruction pattern moves data with that machine mode from
  504.      operand 1 to operand 0.  For example, `movsi' moves full-word data.
  505.  
  506.      If operand 0 is a `subreg' with mode M of a register whose own
  507.      mode is wider than M, the effect of this instruction is to store
  508.      the specified value in the part of the register that corresponds
  509.      to mode M.  The effect on the rest of the register is undefined.
  510.  
  511.      This class of patterns is special in several ways.  First of all,
  512.      each of these names *must* be defined, because there is no other
  513.      way to copy a datum from one place to another.
  514.  
  515.      Second, these patterns are not used solely in the RTL generation
  516.      pass.  Even the reload pass can generate move insns to copy values
  517.      from stack slots into temporary registers.  When it does so, one
  518.      of the operands is a hard register and the other is an operand
  519.      that can need to be reloaded into a register.
  520.  
  521.      Therefore, when given such a pair of operands, the pattern must
  522.      generate RTL which needs no reloading and needs no temporary
  523.      registers--no registers other than the operands.  For example, if
  524.      you support the pattern with a `define_expand', then in such a
  525.      case the `define_expand' mustn't call `force_reg' or any other such
  526.      function which might generate new pseudo registers.
  527.  
  528.      This requirement exists even for subword modes on a RISC machine
  529.      where fetching those modes from memory normally requires several
  530.      insns and some temporary registers.  Look in `spur.md' to see how
  531.      the requirement can be satisfied.
  532.  
  533.      During reload a memory reference with an invalid address may be
  534.      passed as an operand.  Such an address will be replaced with a
  535.      valid address later in the reload pass.  In this case, nothing may
  536.      be done with the address except to use it as it stands.  If it is
  537.      copied, it will not be replaced with a valid address.  No attempt
  538.      should be made to make such an address into a valid address and no
  539.      routine (such as `change_address') that will do so may be called.
  540.      Note that `general_operand' will fail when applied to such an
  541.      address.
  542.  
  543.      The global variable `reload_in_progress' (which must be explicitly
  544.      declared if required) can be used to determine whether such special
  545.      handling is required.
  546.  
  547.      The variety of operands that have reloads depends on the rest of
  548.      the machine description, but typically on a RISC machine these can
  549.      only be pseudo registers that did not get hard registers, while on
  550.      other machines explicit memory references will get optional
  551.      reloads.
  552.  
  553.      If a scratch register is required to move an object to or from
  554.      memory, it can be allocated using `gen_reg_rtx' prior to life
  555.      analysis.
  556.  
  557.      If there are cases needing scratch registers after reload, you
  558.      must define `SECONDARY_INPUT_RELOAD_CLASS' and perhaps also
  559.      `SECONDARY_OUTPUT_RELOAD_CLASS' to detect them, and provide
  560.      patterns `reload_inM' or `reload_outM' to handle them.  *Note
  561.      Register Classes::.
  562.  
  563.      The global variable `no_new_pseudos' can be used to determine if it
  564.      is unsafe to create new pseudo registers.  If this variable is
  565.      nonzero, then it is unsafe to call `gen_reg_rtx' to allocate a new
  566.      pseudo.
  567.  
  568.      The constraints on a `movM' must permit moving any hard register
  569.      to any other hard register provided that `HARD_REGNO_MODE_OK'
  570.      permits mode M in both registers and `REGISTER_MOVE_COST' applied
  571.      to their classes returns a value of 2.
  572.  
  573.      It is obligatory to support floating point `movM' instructions
  574.      into and out of any registers that can hold fixed point values,
  575.      because unions and structures (which have modes `SImode' or
  576.      `DImode') can be in those registers and they may have floating
  577.      point members.
  578.  
  579.      There may also be a need to support fixed point `movM'
  580.      instructions in and out of floating point registers.
  581.      Unfortunately, I have forgotten why this was so, and I don't know
  582.      whether it is still true.  If `HARD_REGNO_MODE_OK' rejects fixed
  583.      point values in floating point registers, then the constraints of
  584.      the fixed point `movM' instructions must be designed to avoid ever
  585.      trying to reload into a floating point register.
  586.  
  587. `reload_inM'
  588. `reload_outM'
  589.      Like `movM', but used when a scratch register is required to move
  590.      between operand 0 and operand 1.  Operand 2 describes the scratch
  591.      register.  See the discussion of the `SECONDARY_RELOAD_CLASS'
  592.      macro in *note Register Classes::..
  593.  
  594. `movstrictM'
  595.      Like `movM' except that if operand 0 is a `subreg' with mode M of
  596.      a register whose natural mode is wider, the `movstrictM'
  597.      instruction is guaranteed not to alter any of the register except
  598.      the part which belongs to mode M.
  599.  
  600. `load_multiple'
  601.      Load several consecutive memory locations into consecutive
  602.      registers.  Operand 0 is the first of the consecutive registers,
  603.      operand 1 is the first memory location, and operand 2 is a
  604.      constant: the number of consecutive registers.
  605.  
  606.      Define this only if the target machine really has such an
  607.      instruction; do not define this if the most efficient way of
  608.      loading consecutive registers from memory is to do them one at a
  609.      time.
  610.  
  611.      On some machines, there are restrictions as to which consecutive
  612.      registers can be stored into memory, such as particular starting or
  613.      ending register numbers or only a range of valid counts.  For those
  614.      machines, use a `define_expand' (*note Expander Definitions::.)
  615.      and make the pattern fail if the restrictions are not met.
  616.  
  617.      Write the generated insn as a `parallel' with elements being a
  618.      `set' of one register from the appropriate memory location (you may
  619.      also need `use' or `clobber' elements).  Use a `match_parallel'
  620.      (*note RTL Template::.) to recognize the insn.  See `a29k.md' and
  621.      `rs6000.md' for examples of the use of this insn pattern.
  622.  
  623. `store_multiple'
  624.      Similar to `load_multiple', but store several consecutive registers
  625.      into consecutive memory locations.  Operand 0 is the first of the
  626.      consecutive memory locations, operand 1 is the first register, and
  627.      operand 2 is a constant: the number of consecutive registers.
  628.  
  629. `addM3'
  630.      Add operand 2 and operand 1, storing the result in operand 0.  All
  631.      operands must have mode M.  This can be used even on two-address
  632.      machines, by means of constraints requiring operands 1 and 0 to be
  633.      the same location.
  634.  
  635. `subM3', `mulM3'
  636. `divM3', `udivM3', `modM3', `umodM3'
  637. `sminM3', `smaxM3', `uminM3', `umaxM3'
  638. `andM3', `iorM3', `xorM3'
  639.      Similar, for other arithmetic operations.
  640.  
  641. `mulhisi3'
  642.      Multiply operands 1 and 2, which have mode `HImode', and store a
  643.      `SImode' product in operand 0.
  644.  
  645. `mulqihi3', `mulsidi3'
  646.      Similar widening-multiplication instructions of other widths.
  647.  
  648. `umulqihi3', `umulhisi3', `umulsidi3'
  649.      Similar widening-multiplication instructions that do unsigned
  650.      multiplication.
  651.  
  652. `mulM3_highpart'
  653.      Perform a signed multiplication of operands 1 and 2, which have
  654.      mode M, and store the most significant half of the product in
  655.      operand 0.  The least significant half of the product is discarded.
  656.  
  657. `umulM3_highpart'
  658.      Similar, but the multiplication is unsigned.
  659.  
  660. `divmodM4'
  661.      Signed division that produces both a quotient and a remainder.
  662.      Operand 1 is divided by operand 2 to produce a quotient stored in
  663.      operand 0 and a remainder stored in operand 3.
  664.  
  665.      For machines with an instruction that produces both a quotient and
  666.      a remainder, provide a pattern for `divmodM4' but do not provide
  667.      patterns for `divM3' and `modM3'.  This allows optimization in the
  668.      relatively common case when both the quotient and remainder are
  669.      computed.
  670.  
  671.      If an instruction that just produces a quotient or just a remainder
  672.      exists and is more efficient than the instruction that produces
  673.      both, write the output routine of `divmodM4' to call
  674.      `find_reg_note' and look for a `REG_UNUSED' note on the quotient
  675.      or remainder and generate the appropriate instruction.
  676.  
  677. `udivmodM4'
  678.      Similar, but does unsigned division.
  679.  
  680. `ashlM3'
  681.      Arithmetic-shift operand 1 left by a number of bits specified by
  682.      operand 2, and store the result in operand 0.  Here M is the mode
  683.      of operand 0 and operand 1; operand 2's mode is specified by the
  684.      instruction pattern, and the compiler will convert the operand to
  685.      that mode before generating the instruction.
  686.  
  687. `ashrM3', `lshrM3', `rotlM3', `rotrM3'
  688.      Other shift and rotate instructions, analogous to the `ashlM3'
  689.      instructions.
  690.  
  691. `negM2'
  692.      Negate operand 1 and store the result in operand 0.
  693.  
  694. `absM2'
  695.      Store the absolute value of operand 1 into operand 0.
  696.  
  697. `sqrtM2'
  698.      Store the square root of operand 1 into operand 0.
  699.  
  700.      The `sqrt' built-in function of C always uses the mode which
  701.      corresponds to the C data type `double'.
  702.  
  703. `ffsM2'
  704.      Store into operand 0 one plus the index of the least significant
  705.      1-bit of operand 1.  If operand 1 is zero, store zero.  M is the
  706.      mode of operand 0; operand 1's mode is specified by the instruction
  707.      pattern, and the compiler will convert the operand to that mode
  708.      before generating the instruction.
  709.  
  710.      The `ffs' built-in function of C always uses the mode which
  711.      corresponds to the C data type `int'.
  712.  
  713. `one_cmplM2'
  714.      Store the bitwise-complement of operand 1 into operand 0.
  715.  
  716. `cmpM'
  717.      Compare operand 0 and operand 1, and set the condition codes.  The
  718.      RTL pattern should look like this:
  719.  
  720.           (set (cc0) (compare (match_operand:M 0 ...)
  721.                               (match_operand:M 1 ...)))
  722.  
  723. `tstM'
  724.      Compare operand 0 against zero, and set the condition codes.  The
  725.      RTL pattern should look like this:
  726.  
  727.           (set (cc0) (match_operand:M 0 ...))
  728.  
  729.      `tstM' patterns should not be defined for machines that do not use
  730.      `(cc0)'.  Doing so would confuse the optimizer since it would no
  731.      longer be clear which `set' operations were comparisons.  The
  732.      `cmpM' patterns should be used instead.
  733.  
  734. `movstrM'
  735.      Block move instruction.  The addresses of the destination and
  736.      source strings are the first two operands, and both are in mode
  737.      `Pmode'.
  738.  
  739.      The number of bytes to move is the third operand, in mode M.
  740.      Usually, you specify `word_mode' for M.  However, if you can
  741.      generate better code knowing the range of valid lengths is smaller
  742.      than those representable in a full word, you should provide a
  743.      pattern with a mode corresponding to the range of values you can
  744.      handle efficiently (e.g., `QImode' for values in the range 0-127;
  745.      note we avoid numbers that appear negative) and also a pattern
  746.      with `word_mode'.
  747.  
  748.      The fourth operand is the known shared alignment of the source and
  749.      destination, in the form of a `const_int' rtx.  Thus, if the
  750.      compiler knows that both source and destination are word-aligned,
  751.      it may provide the value 4 for this operand.
  752.  
  753.      Descriptions of multiple `movstrM' patterns can only be beneficial
  754.      if the patterns for smaller modes have fewer restrictions on their
  755.      first, second and fourth operands.  Note that the mode M in
  756.      `movstrM' does not impose any restriction on the mode of
  757.      individually moved data units in the block.
  758.  
  759.      These patterns need not give special consideration to the
  760.      possibility that the source and destination strings might overlap.
  761.  
  762. `clrstrM'
  763.      Block clear instruction.  The addresses of the destination string
  764.      is the first operand, in mode `Pmode'.  The number of bytes to
  765.      clear is the second operand, in mode M.  See `movstrM' for a
  766.      discussion of the choice of mode.
  767.  
  768.      The third operand is the known alignment of the destination, in
  769.      the form of a `const_int' rtx.  Thus, if the compiler knows that
  770.      the destination is word-aligned, it may provide the value 4 for
  771.      this operand.
  772.  
  773.      The use for multiple `clrstrM' is as for `movstrM'.
  774.  
  775. `cmpstrM'
  776.      Block compare instruction, with five operands.  Operand 0 is the
  777.      output; it has mode M.  The remaining four operands are like the
  778.      operands of `movstrM'.  The two memory blocks specified are
  779.      compared byte by byte in lexicographic order.  The effect of the
  780.      instruction is to store a value in operand 0 whose sign indicates
  781.      the result of the comparison.
  782.  
  783. `strlenM'
  784.      Compute the length of a string, with three operands.  Operand 0 is
  785.      the result (of mode M), operand 1 is a `mem' referring to the
  786.      first character of the string, operand 2 is the character to
  787.      search for (normally zero), and operand 3 is a constant describing
  788.      the known alignment of the beginning of the string.
  789.  
  790. `floatMN2'
  791.      Convert signed integer operand 1 (valid for fixed point mode M) to
  792.      floating point mode N and store in operand 0 (which has mode N).
  793.  
  794. `floatunsMN2'
  795.      Convert unsigned integer operand 1 (valid for fixed point mode M)
  796.      to floating point mode N and store in operand 0 (which has mode N).
  797.  
  798. `fixMN2'
  799.      Convert operand 1 (valid for floating point mode M) to fixed point
  800.      mode N as a signed number and store in operand 0 (which has mode
  801.      N).  This instruction's result is defined only when the value of
  802.      operand 1 is an integer.
  803.  
  804. `fixunsMN2'
  805.      Convert operand 1 (valid for floating point mode M) to fixed point
  806.      mode N as an unsigned number and store in operand 0 (which has
  807.      mode N).  This instruction's result is defined only when the value
  808.      of operand 1 is an integer.
  809.  
  810. `ftruncM2'
  811.      Convert operand 1 (valid for floating point mode M) to an integer
  812.      value, still represented in floating point mode M, and store it in
  813.      operand 0 (valid for floating point mode M).
  814.  
  815. `fix_truncMN2'
  816.      Like `fixMN2' but works for any floating point value of mode M by
  817.      converting the value to an integer.
  818.  
  819. `fixuns_truncMN2'
  820.      Like `fixunsMN2' but works for any floating point value of mode M
  821.      by converting the value to an integer.
  822.  
  823. `truncMN2'
  824.      Truncate operand 1 (valid for mode M) to mode N and store in
  825.      operand 0 (which has mode N).  Both modes must be fixed point or
  826.      both floating point.
  827.  
  828. `extendMN2'
  829.      Sign-extend operand 1 (valid for mode M) to mode N and store in
  830.      operand 0 (which has mode N).  Both modes must be fixed point or
  831.      both floating point.
  832.  
  833. `zero_extendMN2'
  834.      Zero-extend operand 1 (valid for mode M) to mode N and store in
  835.      operand 0 (which has mode N).  Both modes must be fixed point.
  836.  
  837. `extv'
  838.      Extract a bit field from operand 1 (a register or memory operand),
  839.      where operand 2 specifies the width in bits and operand 3 the
  840.      starting bit, and store it in operand 0.  Operand 0 must have mode
  841.      `word_mode'.  Operand 1 may have mode `byte_mode' or `word_mode';
  842.      often `word_mode' is allowed only for registers.  Operands 2 and 3
  843.      must be valid for `word_mode'.
  844.  
  845.      The RTL generation pass generates this instruction only with
  846.      constants for operands 2 and 3.
  847.  
  848.      The bit-field value is sign-extended to a full word integer before
  849.      it is stored in operand 0.
  850.  
  851. `extzv'
  852.      Like `extv' except that the bit-field value is zero-extended.
  853.  
  854. `insv'
  855.      Store operand 3 (which must be valid for `word_mode') into a bit
  856.      field in operand 0, where operand 1 specifies the width in bits and
  857.      operand 2 the starting bit.  Operand 0 may have mode `byte_mode' or
  858.      `word_mode'; often `word_mode' is allowed only for registers.
  859.      Operands 1 and 2 must be valid for `word_mode'.
  860.  
  861.      The RTL generation pass generates this instruction only with
  862.      constants for operands 1 and 2.
  863.  
  864. `movMODEcc'
  865.      Conditionally move operand 2 or operand 3 into operand 0 according
  866.      to the comparison in operand 1.  If the comparison is true,
  867.      operand 2 is moved into operand 0, otherwise operand 3 is moved.
  868.  
  869.      The mode of the operands being compared need not be the same as
  870.      the operands being moved.  Some machines, sparc64 for example,
  871.      have instructions that conditionally move an integer value based
  872.      on the floating point condition codes and vice versa.
  873.  
  874.      If the machine does not have conditional move instructions, do not
  875.      define these patterns.
  876.  
  877. `sCOND'
  878.      Store zero or nonzero in the operand according to the condition
  879.      codes.  Value stored is nonzero iff the condition COND is true.
  880.      COND is the name of a comparison operation expression code, such
  881.      as `eq', `lt' or `leu'.
  882.  
  883.      You specify the mode that the operand must have when you write the
  884.      `match_operand' expression.  The compiler automatically sees which
  885.      mode you have used and supplies an operand of that mode.
  886.  
  887.      The value stored for a true condition must have 1 as its low bit,
  888.      or else must be negative.  Otherwise the instruction is not
  889.      suitable and you should omit it from the machine description.  You
  890.      describe to the compiler exactly which value is stored by defining
  891.      the macro `STORE_FLAG_VALUE' (*note Misc::.).  If a description
  892.      cannot be found that can be used for all the `sCOND' patterns, you
  893.      should omit those operations from the machine description.
  894.  
  895.      These operations may fail, but should do so only in relatively
  896.      uncommon cases; if they would fail for common cases involving
  897.      integer comparisons, it is best to omit these patterns.
  898.  
  899.      If these operations are omitted, the compiler will usually
  900.      generate code that copies the constant one to the target and
  901.      branches around an assignment of zero to the target.  If this code
  902.      is more efficient than the potential instructions used for the
  903.      `sCOND' pattern followed by those required to convert the result
  904.      into a 1 or a zero in `SImode', you should omit the `sCOND'
  905.      operations from the machine description.
  906.  
  907. `bCOND'
  908.      Conditional branch instruction.  Operand 0 is a `label_ref' that
  909.      refers to the label to jump to.  Jump if the condition codes meet
  910.      condition COND.
  911.  
  912.      Some machines do not follow the model assumed here where a
  913.      comparison instruction is followed by a conditional branch
  914.      instruction.  In that case, the `cmpM' (and `tstM') patterns should
  915.      simply store the operands away and generate all the required insns
  916.      in a `define_expand' (*note Expander Definitions::.) for the
  917.      conditional branch operations.  All calls to expand `bCOND'
  918.      patterns are immediately preceded by calls to expand either a
  919.      `cmpM' pattern or a `tstM' pattern.
  920.  
  921.      Machines that use a pseudo register for the condition code value,
  922.      or where the mode used for the comparison depends on the condition
  923.      being tested, should also use the above mechanism.  *Note Jump
  924.      Patterns::.
  925.  
  926.      The above discussion also applies to the `movMODEcc' and `sCOND'
  927.      patterns.
  928.  
  929. `call'
  930.      Subroutine call instruction returning no value.  Operand 0 is the
  931.      function to call; operand 1 is the number of bytes of arguments
  932.      pushed as a `const_int'; operand 2 is the number of registers used
  933.      as operands.
  934.  
  935.      On most machines, operand 2 is not actually stored into the RTL
  936.      pattern.  It is supplied for the sake of some RISC machines which
  937.      need to put this information into the assembler code; they can put
  938.      it in the RTL instead of operand 1.
  939.  
  940.      Operand 0 should be a `mem' RTX whose address is the address of the
  941.      function.  Note, however, that this address can be a `symbol_ref'
  942.      expression even if it would not be a legitimate memory address on
  943.      the target machine.  If it is also not a valid argument for a call
  944.      instruction, the pattern for this operation should be a
  945.      `define_expand' (*note Expander Definitions::.) that places the
  946.      address into a register and uses that register in the call
  947.      instruction.
  948.  
  949. `call_value'
  950.      Subroutine call instruction returning a value.  Operand 0 is the
  951.      hard register in which the value is returned.  There are three more
  952.      operands, the same as the three operands of the `call' instruction
  953.      (but with numbers increased by one).
  954.  
  955.      Subroutines that return `BLKmode' objects use the `call' insn.
  956.  
  957. `call_pop', `call_value_pop'
  958.      Similar to `call' and `call_value', except used if defined and if
  959.      `RETURN_POPS_ARGS' is non-zero.  They should emit a `parallel'
  960.      that contains both the function call and a `set' to indicate the
  961.      adjustment made to the frame pointer.
  962.  
  963.      For machines where `RETURN_POPS_ARGS' can be non-zero, the use of
  964.      these patterns increases the number of functions for which the
  965.      frame pointer can be eliminated, if desired.
  966.  
  967. `untyped_call'
  968.      Subroutine call instruction returning a value of any type.
  969.      Operand 0 is the function to call; operand 1 is a memory location
  970.      where the result of calling the function is to be stored; operand
  971.      2 is a `parallel' expression where each element is a `set'
  972.      expression that indicates the saving of a function return value
  973.      into the result block.
  974.  
  975.      This instruction pattern should be defined to support
  976.      `__builtin_apply' on machines where special instructions are needed
  977.      to call a subroutine with arbitrary arguments or to save the value
  978.      returned.  This instruction pattern is required on machines that
  979.      have multiple registers that can hold a return value (i.e.
  980.      `FUNCTION_VALUE_REGNO_P' is true for more than one register).
  981.  
  982. `return'
  983.      Subroutine return instruction.  This instruction pattern name
  984.      should be defined only if a single instruction can do all the work
  985.      of returning from a function.
  986.  
  987.      Like the `movM' patterns, this pattern is also used after the RTL
  988.      generation phase.  In this case it is to support machines where
  989.      multiple instructions are usually needed to return from a
  990.      function, but some class of functions only requires one
  991.      instruction to implement a return.  Normally, the applicable
  992.      functions are those which do not need to save any registers or
  993.      allocate stack space.
  994.  
  995.      For such machines, the condition specified in this pattern should
  996.      only be true when `reload_completed' is non-zero and the function's
  997.      epilogue would only be a single instruction.  For machines with
  998.      register windows, the routine `leaf_function_p' may be used to
  999.      determine if a register window push is required.
  1000.  
  1001.      Machines that have conditional return instructions should define
  1002.      patterns such as
  1003.  
  1004.           (define_insn ""
  1005.             [(set (pc)
  1006.                   (if_then_else (match_operator
  1007.                                    0 "comparison_operator"
  1008.                                    [(cc0) (const_int 0)])
  1009.                                 (return)
  1010.                                 (pc)))]
  1011.             "CONDITION"
  1012.             "...")
  1013.  
  1014.      where CONDITION would normally be the same condition specified on
  1015.      the named `return' pattern.
  1016.  
  1017. `untyped_return'
  1018.      Untyped subroutine return instruction.  This instruction pattern
  1019.      should be defined to support `__builtin_return' on machines where
  1020.      special instructions are needed to return a value of any type.
  1021.  
  1022.      Operand 0 is a memory location where the result of calling a
  1023.      function with `__builtin_apply' is stored; operand 1 is a
  1024.      `parallel' expression where each element is a `set' expression
  1025.      that indicates the restoring of a function return value from the
  1026.      result block.
  1027.  
  1028. `nop'
  1029.      No-op instruction.  This instruction pattern name should always be
  1030.      defined to output a no-op in assembler code.  `(const_int 0)' will
  1031.      do as an RTL pattern.
  1032.  
  1033. `indirect_jump'
  1034.      An instruction to jump to an address which is operand zero.  This
  1035.      pattern name is mandatory on all machines.
  1036.  
  1037. `casesi'
  1038.      Instruction to jump through a dispatch table, including bounds
  1039.      checking.  This instruction takes five operands:
  1040.  
  1041.        1. The index to dispatch on, which has mode `SImode'.
  1042.  
  1043.        2. The lower bound for indices in the table, an integer constant.
  1044.  
  1045.        3. The total range of indices in the table--the largest index
  1046.           minus the smallest one (both inclusive).
  1047.  
  1048.        4. A label that precedes the table itself.
  1049.  
  1050.        5. A label to jump to if the index has a value outside the
  1051.           bounds.  (If the machine-description macro
  1052.           `CASE_DROPS_THROUGH' is defined, then an out-of-bounds index
  1053.           drops through to the code following the jump table instead of
  1054.           jumping to this label.  In that case, this label is not
  1055.           actually used by the `casesi' instruction, but it is always
  1056.           provided as an operand.)
  1057.  
  1058.      The table is a `addr_vec' or `addr_diff_vec' inside of a
  1059.      `jump_insn'.  The number of elements in the table is one plus the
  1060.      difference between the upper bound and the lower bound.
  1061.  
  1062. `tablejump'
  1063.      Instruction to jump to a variable address.  This is a low-level
  1064.      capability which can be used to implement a dispatch table when
  1065.      there is no `casesi' pattern.
  1066.  
  1067.      This pattern requires two operands: the address or offset, and a
  1068.      label which should immediately precede the jump table.  If the
  1069.      macro `CASE_VECTOR_PC_RELATIVE' evaluates to a nonzero value then
  1070.      the first operand is an offset which counts from the address of
  1071.      the table; otherwise, it is an absolute address to jump to.  In
  1072.      either case, the first operand has mode `Pmode'.
  1073.  
  1074.      The `tablejump' insn is always the last insn before the jump table
  1075.      it uses.  Its assembler code normally has no need to use the
  1076.      second operand, but you should incorporate it in the RTL pattern so
  1077.      that the jump optimizer will not delete the table as unreachable
  1078.      code.
  1079.  
  1080. `canonicalize_funcptr_for_compare'
  1081.      Canonicalize the function pointer in operand 1 and store the result
  1082.      into operand 0.
  1083.  
  1084.      Operand 0 is always a `reg' and has mode `Pmode'; operand 1 may be
  1085.      a `reg', `mem', `symbol_ref', `const_int', etc and also has mode
  1086.      `Pmode'.
  1087.  
  1088.      Canonicalization of a function pointer usually involves computing
  1089.      the address of the function which would be called if the function
  1090.      pointer were used in an indirect call.
  1091.  
  1092.      Only define this pattern if function pointers on the target machine
  1093.      can have different values but still call the same function when
  1094.      used in an indirect call.
  1095.  
  1096. `save_stack_block'
  1097. `save_stack_function'
  1098. `save_stack_nonlocal'
  1099. `restore_stack_block'
  1100. `restore_stack_function'
  1101. `restore_stack_nonlocal'
  1102.      Most machines save and restore the stack pointer by copying it to
  1103.      or from an object of mode `Pmode'.  Do not define these patterns on
  1104.      such machines.
  1105.  
  1106.      Some machines require special handling for stack pointer saves and
  1107.      restores.  On those machines, define the patterns corresponding to
  1108.      the non-standard cases by using a `define_expand' (*note Expander
  1109.      Definitions::.) that produces the required insns.  The three types
  1110.      of saves and restores are:
  1111.  
  1112.        1. `save_stack_block' saves the stack pointer at the start of a
  1113.           block that allocates a variable-sized object, and
  1114.           `restore_stack_block' restores the stack pointer when the
  1115.           block is exited.
  1116.  
  1117.        2. `save_stack_function' and `restore_stack_function' do a
  1118.           similar job for the outermost block of a function and are
  1119.           used when the function allocates variable-sized objects or
  1120.           calls `alloca'.  Only the epilogue uses the restored stack
  1121.           pointer, allowing a simpler save or restore sequence on some
  1122.           machines.
  1123.  
  1124.        3. `save_stack_nonlocal' is used in functions that contain labels
  1125.           branched to by nested functions.  It saves the stack pointer
  1126.           in such a way that the inner function can use
  1127.           `restore_stack_nonlocal' to restore the stack pointer.  The
  1128.           compiler generates code to restore the frame and argument
  1129.           pointer registers, but some machines require saving and
  1130.           restoring additional data such as register window information
  1131.           or stack backchains.  Place insns in these patterns to save
  1132.           and restore any such required data.
  1133.  
  1134.      When saving the stack pointer, operand 0 is the save area and
  1135.      operand 1 is the stack pointer.  The mode used to allocate the
  1136.      save area defaults to `Pmode' but you can override that choice by
  1137.      defining the `STACK_SAVEAREA_MODE' macro (*note Storage
  1138.      Layout::.).  You must specify an integral mode, or `VOIDmode' if
  1139.      no save area is needed for a particular type of save (either
  1140.      because no save is needed or because a machine-specific save area
  1141.      can be used).  Operand 0 is the stack pointer and operand 1 is the
  1142.      save area for restore operations.  If `save_stack_block' is
  1143.      defined, operand 0 must not be `VOIDmode' since these saves can be
  1144.      arbitrarily nested.
  1145.  
  1146.      A save area is a `mem' that is at a constant offset from
  1147.      `virtual_stack_vars_rtx' when the stack pointer is saved for use by
  1148.      nonlocal gotos and a `reg' in the other two cases.
  1149.  
  1150. `allocate_stack'
  1151.      Subtract (or add if `STACK_GROWS_DOWNWARD' is undefined) operand 1
  1152.      from the stack pointer to create space for dynamically allocated
  1153.      data.
  1154.  
  1155.      Store the resultant pointer to this space into operand 0.  If you
  1156.      are allocating space from the main stack, do this by emitting a
  1157.      move insn to copy `virtual_stack_dynamic_rtx' to operand 0.  If
  1158.      you are allocating the space elsewhere, generate code to copy the
  1159.      location of the space to operand 0.  In the latter case, you must
  1160.      ensure this space gets freed when the corresponding space on the
  1161.      main stack is free.
  1162.  
  1163.      Do not define this pattern if all that must be done is the
  1164.      subtraction.  Some machines require other operations such as stack
  1165.      probes or maintaining the back chain.  Define this pattern to emit
  1166.      those operations in addition to updating the stack pointer.
  1167.  
  1168. `probe'
  1169.      Some machines require instructions to be executed after space is
  1170.      allocated from the stack, for example to generate a reference at
  1171.      the bottom of the stack.
  1172.  
  1173.      If you need to emit instructions before the stack has been
  1174.      adjusted, put them into the `allocate_stack' pattern.  Otherwise,
  1175.      define this pattern to emit the required instructions.
  1176.  
  1177.      No operands are provided.
  1178.  
  1179. `check_stack'
  1180.      If stack checking cannot be done on your system by probing the
  1181.      stack with a load or store instruction (*note Stack Checking::.),
  1182.      define this pattern to perform the needed check and signaling an
  1183.      error if the stack has overflowed.  The single operand is the
  1184.      location in the stack furthest from the current stack pointer that
  1185.      you need to validate.  Normally, on machines where this pattern is
  1186.      needed, you would obtain the stack limit from a global or
  1187.      thread-specific variable or register.
  1188.  
  1189. `nonlocal_goto'
  1190.      Emit code to generate a non-local goto, e.g., a jump from one
  1191.      function to a label in an outer function.  This pattern has four
  1192.      arguments, each representing a value to be used in the jump.  The
  1193.      first argument is to be loaded into the frame pointer, the second
  1194.      is the address to branch to (code to dispatch to the actual label),
  1195.      the third is the address of a location where the stack is saved,
  1196.      and the last is the address of the label, to be placed in the
  1197.      location for the incoming static chain.
  1198.  
  1199.      On most machines you need not define this pattern, since GNU CC
  1200.      will already generate the correct code, which is to load the frame
  1201.      pointer and static chain, restore the stack (using the
  1202.      `restore_stack_nonlocal' pattern, if defined), and jump indirectly
  1203.      to the dispatcher.  You need only define this pattern if this code
  1204.      will not work on your machine.
  1205.  
  1206. `nonlocal_goto_receiver'
  1207.      This pattern, if defined, contains code needed at the target of a
  1208.      nonlocal goto after the code already generated by GNU CC.  You
  1209.      will not normally need to define this pattern.  A typical reason
  1210.      why you might need this pattern is if some value, such as a
  1211.      pointer to a global table, must be restored when the frame pointer
  1212.      is restored.  Note that a nonlocal goto only ocurrs within a
  1213.      unit-of-translation, so a global table pointer that is shared by
  1214.      all functions of a given module need not be restored.  There are
  1215.      no arguments.
  1216.  
  1217. `exception_receiver'
  1218.      This pattern, if defined, contains code needed at the site of an
  1219.      exception handler that isn't needed at the site of a nonlocal
  1220.      goto.  You will not normally need to define this pattern.  A
  1221.      typical reason why you might need this pattern is if some value,
  1222.      such as a pointer to a global table, must be restored after
  1223.      control flow is branched to the handler of an exception.  There
  1224.      are no arguments.
  1225.  
  1226. `builtin_setjmp_setup'
  1227.      This pattern, if defined, contains additional code needed to
  1228.      initialize the `jmp_buf'.  You will not normally need to define
  1229.      this pattern.  A typical reason why you might need this pattern is
  1230.      if some value, such as a pointer to a global table, must be
  1231.      restored.  Though it is preferred that the pointer value be
  1232.      recalculated if possible (given the address of a label for
  1233.      instance).  The single argument is a pointer to the `jmp_buf'.
  1234.      Note that the buffer is five words long and that the first three
  1235.      are normally used by the generic mechanism.
  1236.  
  1237. `builtin_setjmp_receiver'
  1238.      This pattern, if defined, contains code needed at the site of an
  1239.      builtin setjmp that isn't needed at the site of a nonlocal goto.
  1240.      You will not normally need to define this pattern.  A typical
  1241.      reason why you might need this pattern is if some value, such as a
  1242.      pointer to a global table, must be restored.  It takes one
  1243.      argument, which is the label to which builtin_longjmp transfered
  1244.      control; this pattern may be emitted at a small offset from that
  1245.      label.
  1246.  
  1247. `builtin_longjmp'
  1248.      This pattern, if defined, performs the entire action of the
  1249.      longjmp.  You will not normally need to define this pattern unless
  1250.      you also define `builtin_setjmp_setup'.  The single argument is a
  1251.      pointer to the `jmp_buf'.
  1252.  
  1253. `eh_epilogue'
  1254.      This pattern, if defined, affects the way `__builtin_eh_return',
  1255.      and thence `__throw' are built.  It is intended to allow
  1256.      communication between the exception handling machinery and the
  1257.      normal epilogue code for the target.
  1258.  
  1259.      The pattern takes three arguments.  The first is the exception
  1260.      context pointer.  This will have already been copied to the
  1261.      function return register appropriate for a pointer; normally this
  1262.      can be ignored.  The second argument is an offset to be added to
  1263.      the stack pointer.  It will have been copied to some arbitrary
  1264.      call-clobbered hard reg so that it will survive until after reload
  1265.      to when the normal epilogue is generated.  The final argument is
  1266.      the address of the exception handler to which the function should
  1267.      return.  This will normally need to copied by the pattern to some
  1268.      special register.
  1269.  
  1270.      This pattern must be defined if `RETURN_ADDR_RTX' does not yield
  1271.      something that can be reliably and permanently modified, i.e. a
  1272.      fixed hard register or a stack memory reference.
  1273.  
  1274. `prologue'
  1275.      This pattern, if defined, emits RTL for entry to a function.  The
  1276.      function entry is resposible for setting up the stack frame,
  1277.      initializing the frame pointer register, saving callee saved
  1278.      registers, etc.
  1279.  
  1280.      Using a prologue pattern is generally preferred over defining
  1281.      `FUNCTION_PROLOGUE' to emit assembly code for the prologue.
  1282.  
  1283.      The `prologue' pattern is particularly useful for targets which
  1284.      perform instruction scheduling.
  1285.  
  1286. `epilogue'
  1287.      This pattern, if defined, emits RTL for exit from a function.  The
  1288.      function exit is resposible for deallocating the stack frame,
  1289.      restoring callee saved registers and emitting the return
  1290.      instruction.
  1291.  
  1292.      Using an epilogue pattern is generally preferred over defining
  1293.      `FUNCTION_EPILOGUE' to emit assembly code for the prologue.
  1294.  
  1295.      The `epilogue' pattern is particularly useful for targets which
  1296.      perform instruction scheduling or which have delay slots for their
  1297.      return instruction.
  1298.  
  1299. `sibcall_epilogue'
  1300.      This pattern, if defined, emits RTL for exit from a function
  1301.      without the final branch back to the calling function.  This
  1302.      pattern will be emitted before any sibling call (aka tail call)
  1303.      sites.
  1304.  
  1305.      The `sibcall_epilogue' pattern must not clobber any arguments used
  1306.      for parameter passing or any stack slots for arguments passed to
  1307.      the current function.
  1308.  
  1309. 
  1310. File: gcc.info,  Node: Pattern Ordering,  Next: Dependent Patterns,  Prev: Standard Names,  Up: Machine Desc
  1311.  
  1312. When the Order of Patterns Matters
  1313. ==================================
  1314.  
  1315.    Sometimes an insn can match more than one instruction pattern.  Then
  1316. the pattern that appears first in the machine description is the one
  1317. used.  Therefore, more specific patterns (patterns that will match
  1318. fewer things) and faster instructions (those that will produce better
  1319. code when they do match) should usually go first in the description.
  1320.  
  1321.    In some cases the effect of ordering the patterns can be used to hide
  1322. a pattern when it is not valid.  For example, the 68000 has an
  1323. instruction for converting a fullword to floating point and another for
  1324. converting a byte to floating point.  An instruction converting an
  1325. integer to floating point could match either one.  We put the pattern
  1326. to convert the fullword first to make sure that one will be used rather
  1327. than the other.  (Otherwise a large integer might be generated as a
  1328. single-byte immediate quantity, which would not work.)  Instead of
  1329. using this pattern ordering it would be possible to make the pattern
  1330. for convert-a-byte smart enough to deal properly with any constant
  1331. value.
  1332.  
  1333.